package main

import (
	"fmt"
	"log"
	"net/http"
	"os"
	"os/signal"
)

type web3handler struct {
}

func (web3handler) ServeHTTP(writer http.ResponseWriter, request *http.Request) {
	writer.Write([]byte("web3"))
}
func main() {
	c := make(chan os.Signal)
	go (func() {
		http.ListenAndServe(":9093", web3handler{})

	})()
	fmt.Println("web3 go ok")
	signal.Notify(c, os.Interrupt)
	s := <-c
	log.Println(s)
}
